package com.lzh.common.exception;

/**
 * @author lizhihang
 * @create 2023-01-17 12:05
 */
public enum BizCodeEnum {
    USERNAME_INPUT_EXCEPTION(10001, "用户名输入错误"),

    PASSWORD_INPUT_EXCEPTION(10002, "密码输入错误");


    private int code;
    private String msg;

    BizCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
